package com.greenyoung.pwiki.markdown.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

public interface MarkdownService {
    void saveFile(MultipartFile file) throws Exception;
    PageInfo getMarkdownsByPageNum(Integer pageNum, Integer pageSize) throws Exception;
    String getMarkdownContentById(Long id) throws Exception;
}
